package pl.com.like.sequoia.web.service;

import pl.com.like.sequoia.dao.security.IUserDao;
import pl.com.like.sequoia.model.security.User;

public interface IUserService {

	public abstract User getUser(String login, String password);

	/**
	 * Check if exists in database user with given login.
	 * 
	 * @param login searched login.
	 * @return
	 */
	public abstract boolean isExistUser(String login);

	public abstract void setUserDao(IUserDao userDao);

}